<?php


namespace app\api\model;


use think\Model;

class BannerItem extends BaseModel
{
    protected $hidden = ['delete_time','update_time','id','img_id','banner_id'];
    public function img(){
        return $this->hasOne(Image::class,'id','img_id');
    }
}